<template>
  <div class="dottitle">{{title}}</div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    }
  }
};
</script>

<style lang="scss">
.dottitle {
  padding: 20px;
  color: #000;
  text-align: center;
  font-size: 28px;
  &::before,
  &::after {
    content: "";
    display: inline-block;
    width: 25px;
    height: 20px;
    margin: 0 20px;
    background-size: 50px 20px;
    background-repeat: no-repeat;
    background-image: url("https://misc.360buyimg.com/mtd/pc/index_2019/1.0.0/assets/sprite/floor_hd/sprite@2x.png");
  }
  &::after {
    background-position-x: -25px;
  }
}
</style>